// out: ./custom.css, sourcemap: false, compress: true

a,
div,
li,
p,
ul {
  padding: 0;
  border: 0;
  margin: 0;
}

body,
html {
  height: 100%;
}

li {
  list-style: none;
}
// TODO: 变量；
@WIDTH: 100%;
@FolderWIDTH: 90%;

.upload {
  width: 100%;
  height: 100%;
  position: relative;

  header {
    overflow: hidden;
    margin: 0 auto;
    background: #3a9cc8;
    padding: 10px;
    color: #fff;
    width: 100%;
    position: absolute;
    top: 0;
    ul {
      .modalContents {
        top: 30%;
        left: 20;
        width: 100%;
      }
      .modal-header {
        padding: 0;
        border-bottom: none;
      }

      #modal {
        color: #333;
        text-align: center;

        i {
          display: block;
          font-size: 64px;
          margin: 20px 0;
        }

        .modal-content {
          padding: 20px;
        }
      }

      li {
        float: left;
        padding: 5px 10px;
        font-size: 20px;

        a {
          &:hover {
            text-decoration: none;
          }
        }

        i {
          font-size: 24px;
          color: #fff;
          margin: 0 5px;
        }
      }
    }

  }
  .headerSearch {
    padding: 70px 0;
    .search-wrap {
      position: relative;
      input {
        padding: 0 30px;
        height: 40px;
        width: 200px;
        font-size: 16px;
        text-indent: 5px;
        color: #263239;
        line-height: 1.625;
        background-color: #fff;
        box-shadow: none;
        border: solid 1px #0099CC;
        background: url("https://topvet.azureedge.net/Backgrounds/search.png") left center no-repeat #fff;
        background-position-x: 15px;
        display: inline-block;
      }
      .searchBtn {
        display: inline-block;
        padding: 8px 25px;
        margin-left: 8px;
        margin-bottom: 0;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.42857143;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-image: none;
        border: 1px solid #fff;
        color: #fff;
        background-color: #0099CC;
        border-radius: 10px;

        border-radius:4px:active {
          box-shadow: none;
          outline: 0;
          background: none;
        }
      }
      #Prompt {
        position: absolute;
        top: 38px;
        right: 103px;
        background: #fff;
        z-index: 1;
        width: 200px;
        border: solid 1px #ddd;
        display: none;
        li {
          padding: 5px 10px;

          &:hover {
            background: #3a9cc8;
            color: #fff;
          }
        }
      }
    }
  }
  .items {
    overflow: auto;
    position: absolute;
    top: 60px;
    bottom: 60px;
    width: 100%;

    .table-view-cell {
      list-style: none;
      line-height: 40px;
      border-bottom: solid 1px #ddd;
      padding: 0 20px;

      .icon-angle-right {
        margin: 10px 0;
      }

      .list-title i {
        margin: 0 10px;
      }

      a {
        color: #333;

        &:hover {
          text-decoration: none;
        }
      }
    }
  }
  .footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #3a9cc8;
    padding: 8px;
    width: 100%;
    color: #fff;

    i,
    span {
      display: block;
    }

    ul {
      overflow: hidden;
      margin: 0 auto;

      li {
        text-align: center;
        float: left;
        /* padding:5px 20px; */
        width: @WIDTH/4;

        a {
          color: #fff;
          font-size: 12px;

          &:hover {
            text-decoration: none;
          }
        }

        i {
          font-size: 20px;
          margin: 3px 0;
        }
      }
    }
  }
}
// TODO: paper.html

.paper {
  overflow: auto;
  position: absolute;
  top: 60px;
  bottom: 60px;
  width: 100%;
  padding: 10px 20px;

  .required {
    color: red;
  }

  .item-invisible,
  .selects,
  input {
    margin: 5px 0;
  }

  .select-option {
    position: relative;

    .selects {
      border: solid 1px #ccc;
      appearance: none;
      -moz-appearance: none;
      -webkit-appearance: none;
      background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center transparent;
      padding-right: 14px;

      option {
        width: 100%;
        background: #fff;
      }
    }

    .selects::-ms-expand {
      display: none;
    }

    .select_list {
      width: 100%;
      height: 100%;
      background: #fff;
      border: solid 1px #ddd;

      li {
        line-height: 20px;
        font-size: 14px;
        padding: 3px;

        &:hover {
          background: #3a9cc8;

          a {
            color: #fff;
          }
        }

        a {
          color: #333;

          &:hover {
            text-decoration: none;
          }
        }

        li:not(:last-child) {
          border-bottom: solid 1px #ddd;
        }
      }
    }
  }
}

#uploading {
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

#file {
  position: absolute;
  z-index: 100;
  width: 128px;
  height: 128px;
  opacity: 0;
  top: 0;
  filter: alpha(opacity=0);
}
// TODO: searchSick.html

.searchSick {
  /*   padding-top: 80px; */
  overflow: auto;
  position: absolute;
  top: 110px;
  bottom: 60px;
  width: 100%;
  padding: 10px;
  .leftSickList {
    margin: 10px 0;
    .listCharacter {
      padding-left: 0;
      margin-bottom: 20px;

      li {
        border-bottom: solid 1px #ddd;
        border-left: solid 1px #ddd;
        border-right: solid 1px #ddd;
        line-height: 30px;
        text-align: left;
        text-indent: 15px;

        &:first-child {
          border-top: solid 1px #ddd;
        }
      }
    }

    table {
      width: 100%;
      height: 100%;
      border: solid 1px #ddd;
      //background-color: #fff;
      thead {
        th {
          line-height: 16px;
          border: solid 1px #ddd;
          text-align: left;
          text-indent: 5px;
          height: 50px;
          color: #333;
        }
      }

      td {
        line-height: 30px;
        border: solid 1px #C1DAD7;
        text-align: left;
        padding: 0 3px 0 5px;
        color: #333;
        width: 30%;
      }

      .title {
        width: 20%;
        background: #F5FAFA;
        text-align: left;
      }
    }
  }

  .characterList {
    .look {
      color: #0099CC;
    }

    table {
      text-align: left;

      tr:last-child {
        border-bottom: solid 1px #ddd;
      }

      td:first-child {
        /* width: 18%; */
      }
    }
  }

  .table-phone {
    width: 100%;
    height: 100%;
    border: solid 1px #ddd;
    //background-color: #fff;
    td {
      line-height: 30px;
      border: solid 1px #C1DAD7;
      text-align: left;
      text-indent: 5px;
      color: #333;
      width: 60%;
      padding: 0 3px 0 5px;
    }

    .title {
      width: 40%;
      background: #F5FAFA;
    }
  }
}
// TODO: manager.html

.manager {
  .folder {
    width: @FolderWIDTH;
    overflow: hidden;
    margin: 20px auto;

    a {
      color: #333;

      &:hover {
        text-decoration: none;
      }
    }

    li {
      display: inline-block;
      text-align: center;
      width: @FolderWIDTH/2.8;
    }
  }
}
// TODO: 媒体查询
@media screen and (max-width: 330px) {}

.table_detail {
  table {
    border: 1px dotted #0099CC!important;
  }

  table thead {
    display: none;
  }

  table tr {
    display: block;
  }

  table td {
    display: block;
    text-align: right;
    font-size: 13px;
    padding: 8px;
    line-height: 20px;
    border-bottom: 1px dotted #0099CC;
  }

  table td.left {
    text-align: left;
  }

  table td:last-child {
    border-bottom: 0;
  }

  table td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: bold;
  }

  table td:not(:last-child):after {
    content: '.';
    display: inline-block;
    color: rgba(0, 0, 0, 0);
  }

  .sub-list li:first-child:before {
    content: "\A";
    white-space: pre;
  }

  .main {
    padding: 0.5em;
  }
}
